#!/bin/bash

# Program:
#     This program shows the user's choice.
# History:
#     2015/08/25    wxb    First release

read -p "Please input (Y/N): " yn                                   # -p : parameter
[ "$yn" == "Y" -o "$yn" == "y" ] && echo "OK, continue" && exit 0   # -o : or
[ "$yn" == "N" -o "$yn" == "n" ] && echo "Oh, interrupt!" && exit 0
echo "I don't know what your choice is" && exit 0
